Package-level declarations
Entrypoint for the Sync API: synchronizes local FHIR resources with a remote FHIR server/store.
Types
The criteria for FhirSyncWorker failure retry based on androidx.work.WorkRequest.Builder.setBackoffCriteria
Contains the result of the conflict resolution. For now, Resolved is the only acceptable result and the expectation is that the client will resolve each and every conflict in-flight that may arise during the sync process. There is no way for the client application to abort or defer the conflict resolution to a later time.
Resolves conflicts between the client and remote changes in a Resource.
Sealed class representing different states of a synchronization operation. It combines WorkInfo.State and SyncJobStatus. Enqueued state represents WorkInfo.State.ENQUEUED where SyncJobStatus is not applicable. Running state is a combined state of WorkInfo.State.ENQUEUED and SyncJobStatus.Started or SyncJobStatus.InProgress. Succeeded state is a combined state of WorkInfo.State.SUCCEEDED and SyncJobStatus.Started or SyncJobStatus.Succeeded. Failed state is a combined state of WorkInfo.State.FAILED and SyncJobStatus.Failed. Cancelled state represents WorkInfo.State.CANCELLED where SyncJobStatus is not applicable.
Manages the process of downloading FHIR resources from a remote server.
Handles FHIR data synchronization between local database and remote server.
The HTTP authentication method to be used for generating HTTP authorization header.
Provides an authorization method for the HTTP requests FHIR Engine sends to the FHIR server.
Configuration for period synchronisation
Data class representing the state of a periodic synchronization operation. It is a combined state of WorkInfo.State and SyncJobStatus. See CurrentSyncJobStatus and LastSyncJobStatus for more details.
Configuration for synchronization retry
Sealed class representing different states of a synchronization operation. These states do not represent WorkInfo.State, whereas CurrentSyncJobStatus combines WorkInfo.State and SyncJobStatus in one-time and periodic sync. For more details, see CurrentSyncJobStatus and PeriodicSyncJobStatus.